/*加载状态*/

div[name="loading"] {
  text-align: center;
  color: #ccc;
  height: 35px;
  line-height: 35px;
  position: relative;
}

div[name="loading"] span {
  position: absolute;
  width: 3px;
  height: 6px;
  background-color: rgb(250, 198, 27);
  display: inline-block;
  margin-right: 0.4rem;
  border-radius: 2px;
  left: 50%;
  top: 50%;
  margin-top: -4px;
}

div[name="loading"] span:nth-child(1) {
  margin-left: -10px;
  background-color: rgb(148, 247, 18);
}

div[name="loading"] span:nth-child(3) {
  margin-left: 10px;
  background-color: rgb(250, 27, 27);
}

div[name="loading"] span:nth-child(1) {
  animation: loading 1.5s 0s infinite;
  -webkit-animation: loading 1.5s 0s infinite;
}

div[name="loading"] span:nth-child(2) {
  animation: loading 1.5s 0.3s infinite;
  -webkit-animation: loading 1.5s 0.3s infinite;
}

div[name="loading"] span:nth-child(3) {
  animation: loading 1.5s 0.6s infinite;
  -webkit-animation: loading 1.5s 0.6s infinite;
}

div[name="loading"] span:nth-child(4) {
  animation: loading 1.5s 0.9s infinite;
  -webkit-animation: loading 1.5s 0.9s infinite;
}

div[name="loading"] span:nth-child(5) {
  animation: loading 1.5s 1.2s infinite;
  -webkit-animation: loading 1.5s 1.2s infinite;
}

@keyframes loading {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}

@-moz-keyframes loading
/* Firefox */ {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}

@-webkit-keyframes loading
/* Safari 和 Chrome */ {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}

@-o-keyframes loading
/* Opera */ {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}
